package com.ca.project.core.Util;

import java.util.UUID;

/**
 * @PACKAGE_NAME: com.recruitment.project.Util
 * @NAME: UUIDUtil
 * @USER: ASUS
 * @DATE: 3/1/2024
 * @TIME: 上午11:23
 **/
public class UUIDUtil {
    public static final String EMPTY_STR = "";
    public static final String HYPHEN_STR = "-";

    /**
     * 获取UUID字符串
     *
     * @return
     */
    public static String getUUID() {
        return UUID.randomUUID().toString().replace(HYPHEN_STR, EMPTY_STR).toUpperCase();
    }

}
